import login from '@/views/login/index.vue'
import layout from '../layout/index..vue'
import noVivew from '@/views/404/index.vue'
export const constantRoute = [
  {
    path: '/login',
    name: 'login',
    component: login,
  },
  {
    path: '/',
    name: 'layout',
    component: layout,
  },
  {
    path: '/404',
    name: '404',
    component: noVivew,
  },
  {
    path: '/:pathMatch(.*)*',
    name: 'Any',
    redirect: '/404',
  },
]
